package com.shallowUniverse.process.context.handler;

import java.util.Map;

/**
 * @author gs
 * @date create in 2021/1/8 21:16
 */
public interface ProcessHandlerService {

    /**
     * description: 获取处理器 <br/>
     * author: Shuai Guo   <br/>
     * date: 2021/7/21 <br/>
     * params: [type] <br/>
     * return: com.qianyu.process.context.handler.ProcessFinishedHandler <br/>
     * version: 1.0
     */
    ProcessFinishedHandler generateHandler(String type);

    /**
     * description: 获取流程处理器工厂上下文 <br/>
     * author: Shuai Guo   <br/>
     * date: 2021/7/21 <br/>
     * params: [] <br/>
     * return: java.util.Map<java.lang.String,com.qianyu.process.context.handler.ProcessFinishedHandler> <br/>
     * version: 1.0
     */
    Map<String, ProcessFinishedHandler> getContext();
}
